using System;

namespace DotPowerJob.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class JobHandlerAttribute : Attribute
    {
        public JobHandlerAttribute(string name)
        {
            Name = name;
        }

        public string Name { get; }

        /// <summary>
        /// set Ignore 
        /// </summary>
        public bool Ignore { get; set; }
    }
}